export enum WindowAction {
    min = 'min',
    hidden = 'hidden',
    close = 'close',
    openUrl = 'open:url',
    toggle = 'toggle',
    windowTop = 'window:top'
}

export enum WindowListener {
    ready = 'ready',
    quitWindow = 'quit:window'
}

export interface IndexDict {
    [k: string]: unknown;
}

export interface IndexString {
    [k: string]: string;
}

export interface ResponseAnswerData {
    result: Array<{
        content: string;
        type: 'human' | 'ai';
        id: string;
    }>;
    current_agent: string;
    current_step: string;
    done: boolean;
    subtasks: [
        {
            description: string;
            agent: string;
            step: string;
        }
    ];
}

export interface ResumeInfo {
    award_list: Array<{
        desc: string;
        title: string;
    }>;
    basic_info: {
        age?: number;
        gender?: number;
        email: string;
        mobile: string;
        mobile_code: string;
        mobile_country_code: string;
        modify_time: string;
        name: string;
        experience_years?: string;
        marital_status?: number;
        preferred_city_list: Array<{
            city_code: string;
            en_name: string;
            zh_name: string;
        }>;
    };
    career_list: Array<{
        career_type: number;
        company: string;
        desc: string;
        end_time: string;
        id: string;
        start_time: string;
        title: string;
    }>;
    certificate_list: [];
    competition_list: [];
    education_list: Array<{
        degree: number;
        end_time: string;
        field_of_study: string;
        id: string;
        school: string;
        start_time: string;
        tag_list: Array<number>;
    }>;
    first_degree: number;
    id: string;
    is_in_agency_period: boolean;
    is_onboarded: boolean;
    language_list: [];
    project_list: Array<{
        desc: string;
        end_time: string;
        id: string;
        name: string;
        role: string;
        start_time: string;
    }>;
    resume_attachment_id_list: Array<string>;
    resume_source_list: Array<{
        en_name: string;
        id: string;
        zh_name: string;
    }>;
    sns_list: [];
    top_degree: number;
    works_list: [];
}
